<template>
  <div>
    <input type="text" @keyup="input" :value="value" />
  </div>
</template>

<script>
export default {
  props: ['value'],
  data() {
    return {}
  },

  methods: {
    input(e) {
      this.$emit('input', e.target.value)
    }
  }
}
</script>

<style scoped></style>
